package edu.cuit.avatar.loop;

public class ContinueDemo {
    public static void main(String[] args) {
        for(int i = 0; i < 10; i++){
            if(i == 2 || i == 4)
                continue; //结束本次循环，继续下一次循环
            System.out.println(i);
        }
    }
}
